package com.zyk.scaffold.mq.rocket.repositorys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhouyk
 * @since 2023-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TStore extends Model<TStore> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "store_id", type = IdType.AUTO)
    private String storeId;

    private String goodsId;

    private String supplierId;

    private String goodsName;

    private Integer storeCount;

    private Integer version;

    private String createBy;

    private LocalDateTime createTime;

    private String updateBy;

    private LocalDateTime updateTime;


    @Override
    protected Serializable pkVal() {
        return this.storeId;
    }

}
